#define LIBWHICH_IMPLEMENTATION
#include "which.h"
#include <stdio.h>

int main() {
    char buffer[1024];
    char* path = libwhich("python", buffer, sizeof(buffer));
    if (path) {
        printf("找到python: %s\n", path);
    } else {
        printf("未找到python\n");
    }
    return 0;
}